package com.quickly.develop.common.commonExport;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;

/***
 * ExportColumnBean: 导出数据字段及表头 BEAN
 * 
 *
 */
public class ExportBeanVo {

	// fileName: 文件名称
	private String fileName;
	// cheetName: sheet页名称
	private String sheetName;
	// titleName: 表格头名称
	private String titleName;
	// columnList : 表格的列
	private List<ExportColumnBean> columnList = new ArrayList<>();
	// dataList : 制作表格的数据
	List<HashMap<String, String>> dataList = new ArrayList<>();

	public ExportBeanVo() {
		super();
	}

	/**
	 * 
	 * @param fileName   : 文件名称
	 * @param sheetName  : sheet页名称
	 * @param titleName  : 表格头名称
	 * @param columnList : 表格的列
	 * @param dataList   : 制作表格的数据
	 */
	public ExportBeanVo(String fileName, String sheetName, String titleName, /**/
			List<ExportColumnBean> columnList, List<HashMap<String, String>> dataList) {
		super();
		this.fileName = fileName;
		this.sheetName = sheetName;
		this.titleName = titleName;
		this.columnList = columnList;
		this.dataList = dataList;
	}

	public String getFileName() {
		return fileName;
	}

	public void setFileName(String fileName) {
		this.fileName = fileName;
	}

	public String getSheetName() {
		return sheetName;
	}

	public void setSheetName(String sheetName) {
		this.sheetName = sheetName;
	}

	public String getTitleName() {
		return titleName;
	}

	public void setTitleName(String titleName) {
		this.titleName = titleName;
	}

	public List<ExportColumnBean> getColumnList() {
		return columnList;
	}

	public void setColumnList(List<ExportColumnBean> columnList) {
		this.columnList = columnList;
	}

	public List<HashMap<String, String>> getDataList() {
		return dataList;
	}

	public void setDataList(List<HashMap<String, String>> dataList) {
		this.dataList = dataList;
	}

	@Override
	public String toString() {
		return "[fileName=" + fileName + ", sheetName=" + sheetName + ", titleName=" + titleName + "]";
	}

}